package com.future.permission.entity;

import org.springframework.data.annotation.Id;

import java.io.Serializable;

public class DeviceUpdataEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer id;

    private String productId;

    private String deviceId;

    private String timestamp;

    private String serviceId;

    private String protocol;

    private String imsi;

    private String imei;

    private String deviceType;

    private String messageType;

    private Integer dataVer;

    private Integer dataTime;

    private Integer dataTemp;

    private Integer dataStc;

    private Integer dataRssi;

    private Integer dataHumi;

    private Integer dataBat;

    private String tenantId;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductId() {
        return productId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getImei() {
        return imei;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setDataVer(Integer dataVer) {
        this.dataVer = dataVer;
    }

    public Integer getDataVer() {
        return dataVer;
    }

    public void setDataTime(Integer dataTime) {
        this.dataTime = dataTime;
    }

    public Integer getDataTime() {
        return dataTime;
    }

    public void setDataTemp(Integer dataTemp) {
        this.dataTemp = dataTemp;
    }

    public Integer getDataTemp() {
        return dataTemp;
    }

    public void setDataStc(Integer dataStc) {
        this.dataStc = dataStc;
    }

    public Integer getDataStc() {
        return dataStc;
    }

    public void setDataRssi(Integer dataRssi) {
        this.dataRssi = dataRssi;
    }

    public Integer getDataRssi() {
        return dataRssi;
    }

    public void setDataHumi(Integer dataHumi) {
        this.dataHumi = dataHumi;
    }

    public Integer getDataHumi() {
        return dataHumi;
    }

    public void setDataBat(Integer dataBat) {
        this.dataBat = dataBat;
    }

    public Integer getDataBat() {
        return dataBat;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    public String toString() {
        return "DeviceUpdataEntity{" +
                "id=" + id +
                ", productId='" + productId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", timestamp=" + timestamp +
                ", serviceId='" + serviceId + '\'' +
                ", protocol='" + protocol + '\'' +
                ", imsi='" + imsi + '\'' +
                ", imei='" + imei + '\'' +
                ", deviceType='" + deviceType + '\'' +
                ", messageType='" + messageType + '\'' +
                ", dataVer=" + dataVer +
                ", dataTime=" + dataTime +
                ", dataTemp=" + dataTemp +
                ", dataStc=" + dataStc +
                ", dataRssi=" + dataRssi +
                ", dataHumi=" + dataHumi +
                ", dataBat=" + dataBat +
                ", tenantId='" + tenantId + '\'' +
                '}';
    }
}